package com.fantastic.mapper.zjs;

import com.fantastic.model.pojo.zjs.CouponTypes;

import java.util.List;

/**
 * @author: rxx
 * @since: 2024/6/2 22:06
 * @description: 优惠券类型mapper接口
 */
public interface CouponTypesMapper {
    /**
     * 查询优惠券类型信息
     *
     * @param couponTypes
     * @return
     */
    List<CouponTypes> listCouponTypes(CouponTypes couponTypes);

    /**
     * 查询单个优惠券类型信息
     *
     * @param couponTypeId
     * @return
     */
    CouponTypes getCouponTypes(Integer couponTypeId);

    /**
     * 添加优惠券类型信息
     *
     * @param couponTypes
     * @return
     */
    Integer insertCouponTypes(CouponTypes couponTypes);

    /**
     * 修改优惠券类型信息
     *
     * @param couponTypes
     * @return
     */
    Integer updateCouponTypes(CouponTypes couponTypes);

    /**
     * 删除优惠券类型信息
     *
     * @param couponTypeId
     * @return
     */
    Integer deleteCouponTypes(Integer couponTypeId);
}
